
export default class Convert {

  public static jsonToModel<T>(json: string): T {
    return JSON.parse(json) as T;
  }

  public static modelToJson(model: any): string {
    return JSON.stringify(model);
  }
}
